<?php

namespace app\astrteam\controller\v1;

use app\astrteam\controller\AstrTeamAuth;

class Info extends AstrTeamAuth
{
    public function info()
    {
        $data = [
            '团队名称：' . $this->teamInfo['name'],
            '公司名称：' . $this->teamInfo['company_name'],
            '统一纳税编号：' . $this->teamInfo['tax_id'],
            '开户行名称：' . $this->teamInfo['bank_name'],
            '银行账号：' . $this->teamInfo['bank_account'],
        ];

        return show(config('code.success'), '请求成功', $data);
    }
}